package com.campusbackend.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.time.LocalDate;

/**
 * 获奖情况创建VO
 */
@Data
@Schema(name = "AwardCreateVO", description = "获奖情况创建VO")
public class AwardCreateVO {
    
    @Schema(description = "奖项名称")
    @NotBlank(message = "奖项名称不能为空")
    private String awardName;
    
    @Schema(description = "奖项级别")
    private String awardLevel;
    
    @Schema(description = "颁奖机构")
    private String awardingOrganization;
    
    @Schema(description = "获奖时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate awardTime;
    
    @Schema(description = "获奖描述")
    private String awardDescription;
    
    @Schema(description = "证书图片URL")
    private String certificateUrl;
} 